<template>
  <div>
    <button @click="up">updateName</button>
    <h2>{{ name }}</h2>
    <h2>{{ age }}</h2>
    <h2>{{ gender }}</h2>
  </div>
</template>

<script>
import {useState} from '../hooks/useState'
export default {
  setup() {
    const datas = useState(["name", "age", "gender"])
    return {
      ...datas
    }
  },
};
</script>

<style lang="scss" scoped>
</style>